﻿Partial Class ContainerText
    Inherits Camalon.Drawing.ShapeContainer

    <System.Diagnostics.DebuggerNonUserCode()> _
    Public Sub New(ByVal container As System.ComponentModel.IContainer)
        MyClass.New()

        'Required for Windows.Forms Class Composition Designer support
        If (container IsNot Nothing) Then
            container.Add(Me)
        End If

    End Sub

    <System.Diagnostics.DebuggerNonUserCode()> _
    Public Sub New()
        MyBase.New()

        'This call is required by the Component Designer.
        InitializeComponent()

    End Sub

    'Component overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub

    'Required by the Component Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Component Designer
    'It can be modified using the Component Designer.
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.rectPen = New Camalon.Drawing.ShapePen()
        Me.rectTextPenFill = New Camalon.Drawing.LinearGradientFill()
        Me.rectTextPen = New Camalon.Drawing.ShapePen()
        Me.textRect = New Camalon.Drawing.Shapes.RectangleShape()
        Me.contTextShade = New Camalon.Drawing.Shade()
        Me.contTextPen = New Camalon.Drawing.ShapePen()
        CType(Me, System.ComponentModel.ISupportInitialize).BeginInit()
        '
        'rectPen
        '
        Me.rectPen.Compounds = New Integer() {0, 20, 30, 70, 80, 100}
        Me.rectPen.Fill = Me.rectTextPenFill
        Me.rectPen.LineJoin = System.Drawing.Drawing2D.LineJoin.Round
        Me.rectPen.Width = 15.0!
        '
        'rectTextPen
        '
        Me.rectTextPen.ForegroundPen = False
        Me.rectTextPen.Width = 3.0!
        '
        'textRect
        '
        Me.textRect.Font = New System.Drawing.Font("Arial Rounded MT Bold", 60.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.textRect.Pen = Me.rectPen
        Me.textRect.Position = New System.Drawing.Point(142, 149)
        Me.textRect.Size = New System.Drawing.Size(687, 248)
        Me.textRect.Text = "SHAPE"
        Me.textRect.TextFill = Me.rectTextPenFill
        Me.textRect.TextFormat.Alignment = System.Drawing.ContentAlignment.TopCenter
        Me.textRect.TextFormat.TextDirection = Camalon.Drawing.TextDirection.VerticalBottomToTop
        Me.textRect.TextFormat.Typographic = True
        Me.textRect.TextPen = Me.rectTextPen
        '
        'contTextShade
        '
        Me.contTextShade.Pen = Me.contTextPen
        Me.contTextShade.Repeat = 10
        '
        'contTextPen
        '
        Me.contTextPen.Color = New Camalon.Drawing.TransparentColor(System.Drawing.Color.Silver)
        '
        'ContainerText
        '
        Me.Font = New System.Drawing.Font("Elephant", 128.0!, System.Drawing.FontStyle.Bold)
        Me.Position = New System.Drawing.Point(70, 40)
        Me.Shapes.AddRange(New Camalon.Drawing.Shape() {Me.textRect})
        Me.Size = New System.Drawing.Size(860, 460)
        Me.Text = "SHAPE"
        Me.TextPen = Me.contTextPen
        Me.TextShade = Me.contTextShade
        CType(Me, System.ComponentModel.ISupportInitialize).EndInit()

    End Sub
    Friend WithEvents rectPen As Camalon.Drawing.ShapePen
    Friend WithEvents rectTextPenFill As Camalon.Drawing.LinearGradientFill
    Private WithEvents rectTextPen As Camalon.Drawing.ShapePen
    Private WithEvents textRect As Camalon.Drawing.Shapes.RectangleShape
    Private WithEvents contTextShade As Camalon.Drawing.Shade
    Private WithEvents contTextPen As Camalon.Drawing.ShapePen

End Class
